﻿@model Atomic.Plugins.Users.Domain.RegisterNewUserModel
    
@{
    ViewBag.Title = "注册新用户";
}

<h2>注册新用户</h2>

<form action="/user/register" method="post">
    <table>
        <tr>
            <td>账号：</td>
            <td>@Html.TextBoxFor(model => model.AccountNumber) @Html.ValidationMessageFor(model => model.AccountNumber)</td>
        </tr>
        <tr>
            <td>密码：</td>
            <td>@Html.PasswordFor(model => model.Password) @Html.ValidationMessageFor(model => model.Password)</td>
        </tr>
        <tr>
            <td>确认密码：</td>
            <td>@Html.PasswordFor(model => model.ConfirmPassword) @Html.ValidationMessageFor(model => model.ConfirmPassword)</td>
        </tr>
        <tr>
            <td>昵称：</td>
            <td>@Html.TextBoxFor(model => model.Name) @Html.ValidationMessageFor(model => model.Name)</td>
        </tr>
        <tr>
            <td>电子邮箱：</td>
            <td>@Html.TextBoxFor(model => model.Email) @Html.ValidationMessageFor(model => model.Email)</td>
        </tr>
        <tr>
            <td colspan="2">
                <input type="submit" value="注册" />
            </td>
        </tr>
    </table>
</form>